﻿
using Grishko.UI;
using OutdoorLib.BaseEntity.Infrastructure;
using System;
using OutdoorLib.BaseEntity.Contract;
using System.IO;
using System.Web.UI;
using Grishko.DataTier;
using OutdoorLib.BaseEntity.Constraction;


/// <summary>
/// Списки - форма по умолчанию
/// @ID- ид текущего фильтра 
/// @ListType -Категория списка 
/// </summary>
public partial class ListForm_SideShedule : FilterListMasterPage 
{
    [System.Web.Services.WebMethod]
    public static string CallRefreshRow(RefreshRowParam Param)
    {
        
        return RefreshSheduleRowEngine.RefreshRow((Param)); ;
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected override void OnLoad(EventArgs e)
    {
        
        base.OnLoad(e);
        ctlSideSheduleRows1.SheduleParams = ctlSideSheduleFilterPanel1.SideSheduleParams;
    }

    protected override IListOfFilter ListOfFilter
    {
        get
        {

            return ctlSideSheduleRows1.ImListOfFilter;
        }
    }
    
    protected override IFilterEditor Filter
    {
        get
        {            
             
            return ctlSideSheduleFilterPanel1;
        }
    }

    protected override bool FilterChange()
    {
        ctlSideSheduleRows1.SheduleParams = ctlSideSheduleFilterPanel1.SideSheduleParams;        
        DataBind();
        updList.Update();
        AppEnvironment.Helper.HideAlertMessage(this );
        return true;
    }
        
   

}
